﻿using System.Collections.Generic;
using Newtonsoft.Json;
using ZilLion.Service.Core.Domain.EntityBase;
using ZilLion.Service.WeChatMall.Domain.Entitys.Orders;

namespace ZilLion.Service.WeChatMall.Domain.Responses
{
    public class OrderResponse : ResponseBase
    {
        [JsonProperty("order")]
        public OrderCompletedInfoDto Order { get; set; }
    }


    public class OrderListResponse : ResponseBase
    {
        [JsonProperty("list")]
        public IList<OrderCompletedInfoDto> List { get; set; }
    }

    public class OrderAbstractListResponse : ResponseBase
    {
        [JsonProperty("list")]
        public IList<OrderAbstractDto> List { get; set; }
    }

    public class OrderAbstractResponse : ResponseBase
    {
        [JsonProperty("order")]
        public OrderAbstractDto Order { get; set; }
    }
}